package com.commerce.addressbook.Entity;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.io.Serializable;
import java.util.List;

public class Contacts extends LitePalSupport implements Serializable {

    private int id;
    @Column(unique = true)
    private String ids;
    private String contacts;
    @Column(defaultValue = "")
    private String imgUrl;
    private List<DataBean> phones;

    public Contacts() {
    }

    public Contacts(String ids, String contacts, String imgUrl, List<DataBean> phones) {
        this.ids = ids;
        this.contacts = contacts;
        this.imgUrl = imgUrl;
        this.phones = phones;
    }

    public String getIds() {
        return ids;
    }
    public int getId() {
        return id;
    }
    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public List<DataBean> getPhones() {
        return phones;
    }

    public void setPhones(List<DataBean> phones) {
        this.phones = phones;
    }

}
